package oocl.ita.eordering.dao;

import java.util.List;

import oocl.ita.eordering.po.Food;

public interface FoodDao {
	public int addFood(Food f);
	//查找指定商户的所有菜品
	public List<Food> findFoodsByMId(Integer mId);
	
	// public List<Food> findRecommendFood(Integer mId,Integer fStatus);
	public int deleteFood(Integer fId);

	public int updateFood(Integer fId, String fName, double fPrice, String fViewPath);
	//设置推荐状态為2
	public boolean updateStatus(Integer fId);
	
}
